<div class="busi-info">
    {{#bs-form formLayout=formLayout model=extendInfo invalid=(action "invalid")}}
        <div class="col-xs-12 nopadding-horizontal top8">
          <div class="col-xs-4 img-font nopadding-left padding-bottom20"></div>
          <div class="col-xs-8 pull-right user-add-btn nopadding-horizontal">
            {{#if detailModify}}
            {{else}}
              {{#ui/icon-button iconClass="fa-edit pull-right incon-button-font" data-toggle="tooltip" title="编辑" data-placement="top" data-original-title="编辑" clickAction="detailModifyClick" detailModifyClick="detailModifyClick" }}
              {{/ui/icon-button}}
            {{/if}}
            <div style="clear:both" />
          </div>
        </div>
        <div class="line ">
            <div class="col-xs-12 col-sm-12 nopadding-left">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">药物过敏史：</span>
                    {{#if detailModify}}
                        {{#bs-form-element class="inline-block form-input-group" controlType="drugAllergy"  property="remark" }}
                            {{textarea type="text" class="full-width inline-block form-input-group label-normal form-control" value=extendInfo.drugAllergy maxlength="300" placeholder='最多可输入300字'}}
                        {{/bs-form-element}}
                    {{else}}
                        <div class="font-light input-group-content">{{if extendInfo.drugAllergy extendInfo.drugAllergy "无"}}</div>
                    {{/if}}
                </div>
            </div>
            <div class="col-xs-12 col-sm-12 nopadding-left">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">现病史：</span>
                    {{#if detailModify}}
                        {{#bs-form-element class="inline-block form-input-group" controlType="presentIllness"  property="remark" }}
                            {{textarea type="text" class="full-width inline-block form-input-group label-normal form-control" value=extendInfo.presentIllness maxlength="300" placeholder='最多可输入300字'}}
                        {{/bs-form-element}}
                    {{else}}
                        <div class="font-light input-group-content">{{if extendInfo.presentIllness extendInfo.presentIllness "无"}}</div>
                    {{/if}}
                </div>
            </div>
            <div class="col-xs-12 col-sm-12 nopadding-left">
                <div class="form-input-group label-normal">
                    <span class="input-group-addon">既往史：</span>
                    {{#if detailModify}}
                        {{#bs-form-element class="inline-block form-input-group" controlType="pastHistory"  property="remark" }}
                            {{textarea type="text" class="full-width inline-block form-input-group label-normal form-control" value=extendInfo.pastHistory maxlength="300" placeholder='最多可输入300字'}}
                        {{/bs-form-element}}
                    {{else}}
                        <div class="font-light input-group-content">{{if extendInfo.pastHistory extendInfo.pastHistory "无"}}</div>
                    {{/if}}
                </div>
            </div>
        </div>

        <div class="col-sm-12">
            <div class="text-center padding-top30 padding-bottom100">
                <p class="text-center user-add-btn" style="display:inline-block;margin:0 auto!important ">
                  {{#if detailModify}}
                    {{#ui/mix-button class=" user-btn edit-btn " iconClass="fa-check" clickAction="detailSaveClick" detailSaveClick="detailSaveClick" text='保存' }}
                    {{/ui/mix-button}}
                    {{#ui/mix-button class=" user-btn times-btn " iconClass="fa fa-mail-reply" text='取消' clickAction="cancelClick" cancelClick="cancelClick" }}
                    {{/ui/mix-button}}
                  {{else}}
                  {{/if}}
                </p>
            </div>
        </div>
    {{/bs-form}}
</div>
